﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DTO;
using DAO;
using System.Data.SqlClient;
using System.Data;
using System.Windows.Forms;
using System.Threading;


namespace BUS
{
    public class KhoThucPhamBUS
    {
        public string CapNhatNguyenLieu(DataGridView dtg)
        {
            KhoThucPhamDAO ktpDAO = new KhoThucPhamDAO();
            return ktpDAO.CapNhatNguyenLieu(dtg);
        }

        public string CapNhatNguyenLieu(DataGridView dtg, int chedo)
        {
            KhoThucPhamDAO ktpDAO = new KhoThucPhamDAO();
            return ktpDAO.CapNhatNguyenLieu(dtg, chedo);
        }
    }
}
